package com.murray.shop.background.service.impl;

import com.murray.shop.background.mapper.AdminMapper;
import com.murray.shop.background.pojo.Admin;
import com.murray.shop.background.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author Murray
 * @Date 2021/8/20
 * @Time 14:16
 */
@Service
public class AdminServiceImpl implements AdminService {


    @Autowired
    AdminMapper adminMapper;

    @Override
    public Admin loginReq(Admin admin) {
        return adminMapper.selectAdminByUnamePwd(admin);
    }
}
